﻿namespace Basic.FormRemoteModel.FormDataSource.Model
{
    public class ConfigTemplate
    {
        /// <summary>
        /// 配置项名
        /// </summary>
        public string Key
        {
            get;
            set;
        }
        /// <summary>
        /// 配置项文本
        /// </summary>
        public string Label
        {
            get;
            set;
        }
        /// <summary>
        /// 控件值范围
        /// </summary>
        public FormConfigTemplateType Type { get; set; }

        /// <summary>
        /// 对应的字典项
        /// </summary>
        public long? DicId { get; set; }

        /// <summary>
        /// 文本说明
        /// </summary>
        public string Placeholder { get; set; }

        public KeyValuePair<string, string>[] Items { get; set; }

        public string DefValue { get; set; }
    }
}
